﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace VideoRentalShop.Model
{
    public class GenreDetails
    {
        [Required]
        public long Id { get; set; }

        [Required]
        public long MovieId { get; set; }

        public virtual Movie Movie { get; set; }

        [Required]
        public long GenreId { get; set; }

        public virtual Genre Genre { get; set; }
    }
}
